Coding unit quantization parameters in video coding

ABSTRACT

A method is provided that includes receiving a coded largest coding unit in a video decoder, wherein the coded largest coding unit includes a coded coding unit structure and a plurality of coded quantization parameters, and decoding the coded largest coding unit based on the coded coding unit structure and the plurality of coded quantization parameters.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of application Ser. No. 14/531,632,filed Nov. 3, 2014, which is a continuation of application Ser. No.13/093,715, filed Apr. 25, 2011, which claims benefit of U.S.Provisional Patent Application No. 61/331,216, filed May 4, 2010, ofU.S. Provisional Patent Application No. 61/431,889, filed Jan. 12, 2011,and of U.S. Provisional Patent Application No. 61/469,518, filed Mar.30, 2011, all of which are incorporated herein by reference in theirentirety.

BACKGROUND OF THE INVENTION

The demand for digital video products continues to increase. Someexamples of applications for digital video include video communication,security and surveillance, industrial automation, and entertainment(e.g., DV, HDTV, satellite TV, set-top boxes, Internet video streaming,video gaming devices, digital cameras, cellular telephones, videojukeboxes, high-end displays and personal video recorders). Further,video applications are becoming increasingly mobile as a result ofhigher computation power in handsets, advances in battery technology,and high-speed wireless connectivity.

Video compression, i.e., video coding, is an essential enabler fordigital video products as it enables the storage and transmission ofdigital video. In general, current video coding standards define videocompression techniques that apply prediction, transformation,quantization, and entropy coding to sequential blocks of pixels, i.e.,macroblocks, in a video sequence to compress, i.e., encode, the videosequence. A macroblock is defined as a 16×16 rectangular block of pixelsin a frame or slice of a video sequence where a frame is defined to be acomplete image captured during a known time interval.

A quantization parameter (QP) may be used to modulate the step size ofthe quantization for each macroblock. For example, in H.264/AVC,quantization of a transform coefficient involves dividing thecoefficient by a quantization step size. The quantization step size,which may also be referred to as the quantization scale, is defined bythe standard based on the QP value, which may be an integer within somerange 0 . . . 51. A step size for a QP value may be determined, forexample, using a table lookup and/or by computational derivation.

The quality and bit rate of the compressed bit stream is largelydetermined by the QP value selected for quantizing each macroblock. Thatis, the quantization step size (Qs) used to quantize a macroblockregulates how much spatial detail is retained in a compressedmacroblock. The smaller the Qs, the more retention of detail and thebetter the quality but at the cost of a higher bit rate. As the Qsincreases, less detail is retained and the bit rate decreases but at thecost of increased distortion and loss of quality.

BRIEF DESCRIPTION OF THE DRAWINGS

Particular embodiments will now be described, by way of example only,and with reference to the accompanying drawings:

FIG. 1 shows a block diagram of a digital system in accordance with oneor more embodiments;

FIG. 2 shows an example of a recursive quadtree structure in accordancewith one or more embodiments;

FIGS. 3A and 3B show block diagrams of a video encoder in accordancewith one or more embodiments;

FIGS. 4-8 show examples in accordance with one or more embodiments;

FIG. 9 shows a block diagram of a video decoder in accordance with oneor more embodiments;

FIG. 10 shows an example in accordance with one or more embodiments;

FIGS. 11 and 12 show flow diagrams of methods in accordance with one ormore embodiments; and

FIG. 13 shows a block diagram of an illustrative digital system inaccordance with one or more embodiments.

DETAILED DESCRIPTION OF EMBODIMENTS OF THE INVENTION

Specific embodiments of the invention will now be described in detailwith reference to the accompanying figures. Like elements in the variousfigures are denoted by like reference numerals for consistency.

As was previously discussed, in current video coding standards such asH.264/AVC, the coding operations of prediction, transformation,quantization, and entropy coding are performed based on fixed size 16×16blocks referred to as macroblocks. Further, a quantization parameter isgenerated for each macroblock with no provision for doing so for largeror smaller blocks. For larger frame sizes, e.g., frame sizes used forhigh definition video, using a larger block size for the block-basedcoding operations may provide better coding efficiency and/or reducedata transmission overhead. For example, a video sequence with a1280×720 frame size and a frame rate of 60 frames per second is 36 timeslarger and 4 times faster than a video sequence with a 176×144 framesize and a frame rate of 15 frames per second. A block size larger than16×16 would allow a video encoder to take advantage of the increasedspatial and/or temporal redundancy in the former video sequence. Suchlarger block sizes are currently proposed in the emerging nextgeneration video standard referred to High Efficiency Video Coding(HEVC). HEVC is the proposed successor to H.264/MPEG-4 AVC (AdvancedVideo Coding), currently under development by a Joint Collaborative Teamon Video Coding (JCT-VC) established by the ISO/IEC Moving PictureExperts Group (MPEG) and ITU-T Video Coding Experts Group (VCEG).

However, an increased block size may adversely affect rate control. Thatis, many rate control techniques manage QP on a block-by-block basisaccording to the available space in a hypothetical transmission buffer.Increasing the block size reduces the granularity at which rate controlcan adjust the value of QP, thus possibly making rate control moredifficult and/or adversely affecting quality. Further, reducing thegranularity at which QP can change by increasing the block size impactsthe visual quality performance of perceptual rate control techniquesthat adapt the QP based on the activity in a block.

Embodiments described herein provide for block-based video coding with alarge block size, e.g., larger than 16×16, in which multiplequantization parameters for a single block may be generated. Morespecifically, a picture (or slice) is divided into non-over-lappingblocks of pixels referred to as largest coding units (LCU). As usedherein, the term “picture” refers to a frame or a field of a frame. Aframe is a complete image captured during a known time interval. A sliceis a subset of sequential LCUs in a picture. An LCU is the base unitused for block-based coding. That is, an LCU plays a similar role incoding as the prior art macroblock, but it may be larger, e.g., 32×32,64×64, 128×128, etc. For purposes of quantization, the LCU is thelargest unit in a picture for which a quantization parameter (QP) may begenerated.

As part of the coding process, various criteria, e.g., rate controlcriteria, complexity considerations, rate distortion constraints, etc.,may be applied to partition an LCU into coding units (CU). A CU is ablock of pixels within an LCU and the CUs within an LCU may be ofdifferent sizes. After the CU partitioning. i.e., the CU structure, isidentified, a QP is generated for each CU. Block-based coding is thenapplied to the LCU to code the CUs. As part of the coding, the QPs areused in the quantization of the corresponding CUs. The CU structure andthe QPs are also coded for communication, i.e., signaling, to a decoder.

In some embodiments, QP values are communicated to a decoder in acompressed bit stream as delta QP values. Techniques for computing thedelta QPs and for controlling the spatial granularity at which delta QPsare signaled are also provided. In some embodiments, more than onetechnique for computing the delta QP values may be used in coding asingle video sequence. In such embodiments, the technique used may besignaled in a compressed bit stream at the appropriate level, e.g.,sequence, picture, slice, and/or LCU.

FIG. 1 shows a block diagram of a digital system in accordance with oneor more embodiments. The system includes a source digital system 100that transmits encoded video sequences to a destination digital system102 via a communication channel 116. The source digital system 100includes a video capture component 104, a video encoder component 106and a transmitter component 108. The video capture component 104 isconfigured to provide a video sequence to be encoded by the videoencoder component 106. The video capture component 104 may be forexample, a video camera, a video archive, or a video feed from a videocontent provider. In some embodiments, the video capture component 104may generate computer graphics as the video sequence, or a combinationof live video, archived video, and/or computer-generated video.

The video encoder component 106 receives a video sequence from the videocapture component 104 and encodes it for transmission by the transmittercomponent 108. The video encoder component 106 receives the videosequence from the video capture component 104 as a sequence of frames,divides the frames into LCUs, and encodes the video data in the LCUs.The video encoder component 106 may be configured to apply one or moretechniques for generating and encoding multiple quantization parametersfor an LCU during the encoding process as described herein. Embodimentsof the video encoder component 106 are described in more detail below inreference to FIGS. 3A and 3B.

The transmitter component 108 transmits the encoded video data to thedestination digital system 102 via the communication channel 116. Thecommunication channel 116 may be any communication medium, orcombination of communication media suitable for transmission of theencoded video sequence, such as, for example, wired or wirelesscommunication media, a local area network, or a wide area network.

The destination digital system 102 includes a receiver component 110, avideo decoder component 112 and a display component 114. The receivercomponent 110 receives the encoded video data from the source digitalsystem 100 via the communication channel 116 and provides the encodedvideo data to the video decoder component 112 for decoding. The videodecoder component 112 reverses the encoding process performed by thevideo encoder component 106 to reconstruct the LCUs of the videosequence. The video decoder component may be configured to apply one ormore techniques for decoding multiple quantization parameters for an LCUduring the decoding process as described herein. Embodiments of thevideo decoder component 112 are described in more detail below inreference to FIG. 9.

The reconstructed video sequence is displayed on the display component114. The display component 114 may be any suitable display device suchas, for example, a plasma display, a liquid crystal display (LCD), alight emitting diode (LED) display, etc.

In some embodiments, the source digital system 100 may also include areceiver component and a video decoder component and/or the destinationdigital system 102 may include a transmitter component and a videoencoder component for transmission of video sequences both directionsfor video steaming, video broadcasting, and video telephony. Further,the video encoder component 106 and the video decoder component 112 mayperform encoding and decoding in accordance with one or more videocompression standards. The video encoder component 106 and the videodecoder component 112 may be implemented in any suitable combination ofsoftware, firmware, and hardware, such as, for example, one or moredigital signal processors (DSPs), microprocessors, discrete logic,application specific integrated circuits (ASICs), field-programmablegate arrays (FPGAs), etc.

As was previously mentioned, an LCU may be partitioned into coding units(CU) during the coding process. For simplicity of explanation indescribing embodiments, a recursive quadtree structure is assumed forpartitioning of LCUs into CUs. One of ordinary skill in the art willunderstand embodiments in which other partitioning structures are used.In the recursive quadtree structure, a CU may be square. Accordingly, anLCU is also square. A picture is divided into non-overlapped LCUs. Giventhat a CU is square, the CU structure within an LCU can be a recursivequadtree structure adapted to the frame. That is, each time a CU (orLCU) is partitioned, it is divided into four equal-sized square blocks.Further, a given CU can be characterized by the size of the LCU and thehierarchical depth of the LCU where the CU occurs. The maximumhierarchical depth is determined by the size of the smallest CU (SCU)permitted.

FIG. 2 shows an example of a recursive quadtree structure in which theLCU is assumed to be 128×128 and the SCU is assumed to be 8×8. Withthese assumptions, the maximum hierarchical depth of the quadtreestructure is 5. Further, five possible CU sizes are allowed: 128×128,64×64, 32×32, 16×16, and 8×8. If the LCU is assumed to be 64×64 and theSCU is assumed to be 8×8, the maximum hierarchical depth is 4 and fourpossible CU sizes are allowed: 64×64, 32×32, 16×16, and 8×8.

FIGS. 3A and 3B show block diagrams of a video encoder, e.g., the videoencoder 106 of FIG. 1, configured to apply one or more techniques forgenerating and encoding multiple quantization parameters for an LCU asdescribed herein. FIG. 3A shows a high level block diagram of the videoencoder and FIG. 3B shows a block diagram of the LCU processingcomponent 342 of the video encoder.

As shown in FIG. 3A, a video encoder includes a coding control component340, an LCU processing component 342, a rate control component 344, anda memory 346. An input digital video sequence is provided to the codingcontrol component 340. The memory 346 may be internal memory, externalmemory, or a combination thereof. The coding control component 340sequences the various operations of the video encoder. For example, thecoding control component 340 performs any processing on the input videosequence that is to be done at the frame level, such as determining thecoding type (I, P, or B) of a picture based on the high level codingstructure, e.g., IPPP, IBBP, hierarchical-B, and dividing a frame intoLCUs for further processing. LCU size and SCU size may be different indifferent embodiments of the video encoder. Further, the LCU size andSCU size may be signaled at the sequence, picture, and/or slice level.The coding control component 340 also interacts with the rate controlcomponent 344 to determine an initial coding unit structure and initialQPs for each LCU.

The rate control component 344 receives an LCU from the coding controlcomponent 340 and applies various criteria to the LCU to determine oneor more QPs to be used by the LCU processing component 342 in coding theLCU. More specifically, the rate control component 344 partitions theLCU into CUs of various sizes within the recursive quadtree structurebased on the various criteria to determine the granularity at which QPsshould be applied and then computes a QP for each CU that is not furthersubdivided, i.e., for each coding unit that is a leaf node in thequadtree. The CU structure of the LCU and the QPs are provided to thecoding control component 340.

The QPs applied to an LCU during the coding of the LCU will be signaledin the compressed bit stream. To minimize the amount of informationsignaled in the compressed bits stream, it may be desirable to constrainthe granularity at which QPs may be applied in an LCU. Recall that theSCU size sets the size of the smallest CU in the recursive quadtreestructure. In some embodiments, a minimum QP CU size may be specified inaddition to the LCU and SCU sizes. In such embodiments, the smallest CUthat the rate control component 344 can use in partitioning an LCU islimited by the minimum QP CU size rather than the SCU size. Thus, theminimum QP CU size may be set to sizes larger than the SCU to constrainthe granularity at which QPs may be applied. For example, if the LCU isassumed to be 64×64 and the SCU is assumed to be 8×8, the four possibleCU sizes allowed in the recursive quadtree structure are 64×64, 32×32,16×6, and 8×8. Without the minimum QP CU size constraint, the ratecontrol component 344 can generate QPs for CUs as small as 8×8. However,if a minimum QP CU size of 16×16 is specified, the rate controlcomponent 344 can generate QPs for CUs as small as 16×16 but no smaller.The minimum QP CU size may be set at the sequence, picture, slice,and/or LCU level and signaled in the compressed bit stream accordingly.

FIG. 4 shows an example CU partitioning of an LCU. In this example, theLCU is partitioned into 4 CUs, A, B, C, and D. CU A is furtherpartitioned into four CUs, A1, A2, A3, and A4 and CU D is furtherpartitioned into four CUs, D1, D2, D3, and D4. CUs A2 and D1 are alsofurther partitioned into four CUs, respectively A21, A22, A23, and A24and D11, D12, D13, and D14. The rate control component 344 computes a QPfor each of the CUs that is not further sub-divided, i.e., for A1, A21,A22, A23, A24, A3, A4, B, C, D11, D12, D13, D14, D2, D3, and D4.

Referring again to FIG. 3A, any suitable criteria may be used by ratecontrol component 344, such as, for example, perceptual rate controlconstraints, target bit rate constraints, rate-distortion optimizationconstraints, and complexity considerations, alone or in any combination.For example, the rate control component 344 may determine the CUpartitioning and corresponding QPs at least in part based on the spatialcharacteristics of the LCU. As is well known, if a region of a pictureis smooth, quantization errors can be more visible to the human eyewhereas if a region is busy (e.g., high textured), any quantizationerror will likely not be visible. The rate control component 344 maydetermine the activity in an LCU and then partition the LCU into CUsizes based on the locations/levels of the activity. An activity measurefor a region of an image may be determined, for example, based on edgeinformation, texture information, etc. The goal would be to assign lowerQP values to flat regions (regions with little to no activity) to reducequantization error and to assign higher QP values to busy regions(regions with high activity) as the quantization error will be hidden.

For example, assume an image in which the top half is sky and the bottomhalf is trees. In top of the image, most of the region is totally flat,so a low QP value should be used. It may be possible to use one QP valuefor an entire LCU in that part of the image as an LCU may be only sky.In the bottom half of the image, most of the region is busy, so a higherQP value can be used. Further, it may be possible to use one QP valuefor an entire LCU in that region, as an LCU may have only trees.

However, there will be transition regions in which LCUs will have bothsky and trees. In such LCUs, there may be regions that are sky andregions that are trees. Such an LCU may be partitioned into CUs sizedbased on activity (within the limits of the quadtree coding structure).For example, an LCU may be divided into four CUs A, B, C, and D, and theactivity level in areas of each CU may then analyzed. If a CU, say CU A,has regions of widely varying activity levels, then CU A may be furtherdivided into four CUs, A1, A2, A3, and A4 in an attempt to reduce thevariance in activity level over the area where a QP will be applied.These four CUs may each also be further divided into four CUs based onactivity. Once the CU partitioning is complete, QP values may then becomputed for each CU.

The coding control component 340 provides information regarding theinitial LCU CU structure and the QPs determined by the rate controlcomponent 344 to the various components of the LCU processing component342 as needed. For example, the coding control component may provide theLCU and SCU size to the entropy encoder component 340 for inclusion inthe compressed video stream at the appropriate point. In anotherexample, the coding control component 340 may generate a quantizationparameter array for use by the quantize component 306 and store thequantization parameter array in the memory 346. The size of thequantization parameter array may be determined based on the maximumpossible number of CUs in an LCU. For example, assume the size of theSCU is 8×8 and the size of the LCU is 64×64. Thus, the maximum possiblenumber of CUs in an LCU is 64. The quantization parameter array is sizedto hold a QP for each of these 64 possible coding units, i.e., is an 8×8array. The QPs computed by the rate control component 344 are mappedinto this array based on the CU structure. As is explained in moredetail herein in reference to the quantize component 306, a QP for anysize CU in the LCU may be located in this array using the coordinates ofthe upper left hand corner of the CU in the LCU.

FIG. 5 shows an example of mapping QPs into a quantization parameterarray 502 based on the CU structure 500. The CU structure assumes a64×64 LCU. In the quantization parameter array 502, the presence of a CUidentifier, e.g., A1, C, D11, etc., in an array cell represents the QPparameter for that CU. For example, the QP for CU A1 is in locations(0,0), (0,1), (1,0), and (1,1), the QP for CU D11 is in location (4,4),and the QP for CU C is in locations (4, 0), (4, 1), (4, 2), (4, 3), (5,0), (5, 1), (5, 2), (5, 3), (6, 0), (6, 1), (6, 2), (6, 3), (7, 0), (7,1), (7, 2), and (7, 3).

Referring again to FIG. 3A, the LCU processing component 342 receivesLCUs of the input video sequence from the coding control component 340and encodes the LCUs to generate the compressed video stream. Aspreviously mentioned, the LCU processing component 342 also receivesinformation regarding the CU structure and QPs of an LCU as determinedby the rate control component 344. The CUs in the CU structure of an LCUmay be processed by the LCU processing component 342 in a depth-firstZ-scan order. For example, in the LCU of FIG. 4, the CUs would bescanned in the following order:A1->A21->A21->A22->A23->A3->A4->B->C->D11->D12->D13->D14->D2->D3->D4.

FIG. 3B shows the basic coding architecture of the LCU processingcomponent 342. The LCUs 300 from the coding control unit 340 areprovided as one input of a motion estimation component 320, as one inputof an intra prediction component 324, and to a positive input of acombiner 302 (e.g., adder or subtractor or the like). Further, althoughnot specifically shown, the prediction mode of each picture as selectedby the coding control component 340 is provided to a mode selectorcomponent, and the entropy encoder 334.

The storage component 318 provides reference data to the motionestimation component 320 and to the motion compensation component 322.The reference data may include one or more previously encoded anddecoded CUs, i.e., reconstructed CUs.

The motion estimation component 320 provides motion estimationinformation to the motion compensation component 322 and the entropyencoder 334. More specifically, the motion estimation component 320performs tests on CUs in an LCU based on multiple temporal predictionmodes using reference data from storage 318 to choose the best motionvector(s)/prediction mode based on a coding cost. To perform the tests,the motion estimation component 320 may begin with the CU structureprovided by the coding control component 340. The motion estimationcomponent 320 may divide each CU indicated in the CU structure intoprediction units according to the unit sizes of prediction modes andcalculate the coding costs for each prediction mode for each CU.

For coding efficiency, the motion estimation component 320 may alsodecide to alter the CU structure by further partitioning one or more ofthe CUs in the CU structure. That is, when choosing the best motionvectors/prediction modes, in addition to testing with the initial CUstructure, the motion estimation component 320 may also choose to dividethe larger CUs in the initial CU structure into smaller CUs (within thelimits of the recursive quadtree structure), and calculate coding costsat lower levels in the coding hierarchy. As will be explained below inreference to the quantizer component 306, any changes made to the CUstructure do not affect how the QPs computed by the rate controlcomponent 344 are applied. If the motion estimation component 320changes the initial CU structure, the modified CU structure iscommunicated to other components in the LCU processing component 342that need the information.

The motion estimation component 320 provides the selected motion vector(MV) or vectors and the selected prediction mode for each interpredicted CU to the motion compensation component 323 and the selectedmotion vector (MV) to the entropy encoder 334. The motion compensationcomponent 322 provides motion compensated inter prediction informationto a selector switch 326 that includes motion compensated interpredicted CUs and the selected temporal prediction modes for the interpredicted CUs. The coding costs of the inter predicted CUs are alsoprovided to the mode selector component (not shown).

The intra prediction component 324 provides intra prediction informationto the selector switch 326 that includes intra predicted CUs and thecorresponding spatial prediction modes. That is, the intra predictioncomponent 324 performs spatial prediction in which tests based onmultiple spatial prediction modes are performed on CUs in an LCU usingpreviously encoded neighboring CUs of the picture from the buffer 328 tochoose the best spatial prediction mode for generating an intrapredicted CU based on a coding cost. To perform the tests, the intraprediction component 324 may begin with the CU structure provided by thecoding control component 340. The intra prediction component 324 maydivide each CU indicated in the CU structure into prediction unitsaccording to the unit sizes of the spatial prediction modes andcalculate the coding costs for each prediction mode for each CU.

For coding efficiency, the intra prediction component 324 may alsodecide to alter the CU structure by further partitioning one or more ofthe CUs in the CU structure. That is, when choosing the best predictionmodes, in addition to testing with the initial CU structure, the intraprediction component 324 may also chose to divide the larger CUs in theinitial CU structure into smaller CUs (within the limits of therecursive quadtree structure), and calculate coding costs at lowerlevels in the coding hierarchy. As will be explained below in referenceto the quantizer component 306, any changes made to the CU structure donot affect how the QP values computed by the rate control component 344are applied. If the intra prediction component 324 changes the initialCU structure, the modified CU structure is communicated to othercomponents in the LCU processing component 342 that need theinformation. Although not specifically shown, the spatial predictionmode of each intra predicted CU provided to the selector switch 326 isalso provided to the transform component 304. Further, the coding costsof the intra predicted CUs are also provided to the mode selectorcomponent.

The selector switch 326 selects between the motion-compensated interpredicted CUs from the motion compensation component 322 and the intrapredicted CUs from the intra prediction component 324 based on thedifference metrics of the CUs and the picture prediction mode providedby the mode selector component. The output of the selector switch 326,i.e., the predicted CU, is provided to a negative input of the combiner302 and to a delay component 330. The output of the delay component 330is provided to another combiner (i.e., an adder) 338. The combiner 302subtracts the predicted CU from the current CU to provide a residual CUto the transform component 304. The resulting residual CU is a set ofpixel difference values that quantify differences between pixel valuesof the original CU and the predicted CU.

The transform component 304 performs unit transforms on the residual CUsto convert the residual pixel values to transform coefficients andprovides the transform coefficients to a quantize component 306. Thequantize component 306 determines a QP for the transform coefficients ofa residual CU and quantizes the transform coefficients based on that QP.For example, the quantize component 306 may divide the values of thetransform coefficients by a quantization scale (Qs) derived from the QPvalue. In some embodiments, the quantize component 306 represents thecoefficients by using a desired number of quantization steps, the numberof steps used (or correspondingly the value of Qs) determining thenumber of bits used to represent the residuals. Other algorithms forquantization such as rate-distortion optimized quantization may also beused by the quantize component 306.

The quantize component 306 determines a QP for the residual CU transformcoefficients based on the initial CU structure provided by the codingcontrol component 340. That is, if the residual CU corresponds to a CUin the initial CU structure, then the quantize component 306 uses the QPcomputed for that CU by the rate control component 344. For example,referring to the example of FIG. 4, if the residual CU was generatedfrom CU C with no further partitioning during the prediction processing,then the QP for CU C is used to quantize the residual CU.

If the residual CU corresponds to a CU created during the predictionprocessing, then the quantize component 306 uses the QP of the originalCU that was subdivided during the prediction processing to create the CUas the QP for the residual CU. For example, if CU C of FIG. 4 is furtherpartitioned during the prediction processing as shown in FIG. 6, and theresidual CU corresponds to one of CUs C1, C2, C3, or C4, then the QP forCU C is used to quantize the residual CU. In embodiments where a minimumQP CU size is specified, if the residual CU corresponds to a CU createdin the initial CU structure and is smaller than the minimum QP CU size,then the quantize component 306 uses the QP of the original CU of thesame size as the minimum QP CU that was partitioned by the rate controlcomponent 344 to create the CU. For example, in the LCU of FIG. 4, ifthe LCU size is 64×64 and the minimum QP CU size is 32×32 and theresidual CU corresponds to one of the 8×8 CUs A21, A22, A23, or A24,then the QP for CU A2 is used to quantize the residual CU.

As was previously mentioned, the coding control component 340 maygenerate a quantization parameter array that is stored in the memory346. The quantize component 306 may use this matrix to determine a QPfor the residual CU coefficients. That is, the coordinates of the upperleft corner of the CU corresponding to the residual CU, whether that CUis in the original coding structure or was added during the predictionprocess, may be used to locate the appropriate QP in the quantizationparameter array. In general, the x coordinate may be divided by thewidth of the SCU and the y coordinate may be divided by the height ofthe SCU to compute the coordinates of the appropriate QP in thequantization parameter array.

For example, consider the CU structure 500 and the quantizationparameter array 502 of FIG. 5. In this example, the SCU is 8×8. Thecoordinates of the upper left corner of CU A4 are (16, 16). Thus, thecoordinates of the location in the quantization parameter array 502holding the appropriate QP are (2, 2). Referring now to the CU structureof FIG. 6, recall that for this example C1, C2, C3, and C4 are assumedto be added to the CU structure during prediction processing. Thecoordinates of the upper left corner of CU C4 are (48, 16). Thus, thecoordinates of the location in the quantization parameter matrix 502holding the appropriate QP are (6, 2).

Because the DCT transform redistributes the energy of the residualsignal into the frequency domain, the quantized transform coefficientsare taken out of their scan ordering by a scan component 308 andarranged by significance, such as, for example, beginning with the moresignificant coefficients followed by the less significant. The orderedquantized transform coefficients for a CU provided via the scancomponent 308 along with header information for the CU are coded by theentropy encoder 334, which provides a compressed bit stream to a videobuffer 336 for transmission or storage. The entropy coding performed bythe entropy encoder 334 may be use any suitable entropy encodingtechnique, such as, for example, context adaptive variable length coding(CAVLC), context adaptive binary arithmetic coding (CABAC), run lengthcoding, etc.

The entropy encoder 334 encodes information regarding the CU structureused to generate the coded CUs in the compressed bit stream andinformation indicating the QPs used in the quantization of the codedCUs. In some embodiments, the CU structure of an LCU is signaled to adecoder by encoding the sizes of the LCU and the SCU and a series ofsplit flags in the compressed bit stream. If a CU in the recursivequadtree structure defined by the LCU and the SCU is split, i.e.,partitioned, in the CU structure, a split flag with a value indicating asplit, e.g., 1, is signaled in the compressed bit stream. If a CU is notsplit and the size of the CU is larger than that of the SCU, a splitflag with a value indicating no split, e.g., 0, is signaled in thecompressed bit stream. Information specific to the unsplit CU willfollow the split flag in the bit stream. The information specific to aCU may include CU header information (prediction mode, motion vectordifferences, coding block flag information, etc), QP information, andcoefficient information. Coefficient information may not be included ifall of the CU coefficients are zero. Further, if the size of a CU is thesame size as the SCU, no split flag is encoded in the bit stream forthat CU.

FIG. 7 shows an example of signaling the CU structure of the LCU of FIG.4 assuming that the LCU size is 64×64 and the SCU size is 8×8. Thisexample assumes that all the CUs have at least one non-zero coefficient.In this example, split flag S0 is set to 1 to indicate that the LCU issplit into four CUs: A, B, C, and D. Split flag S1 is set to 1 toindicate that CU A is split into four CUs: A1, A2, A3, and A4. Splitflag S2 is set to 0 to indicate that CU A1 is not split. Informationspecific to CU A1 follows split flag S2. Split flag S3 is set to 1 toindicate that CU A2 is split into four CUs: A21, A22, A23, and A24. CUsA21, A22, A23, and A24 are 8×8 so no split flags are encoded for theseCUs. Information specific to each of the CUS follows split flag S3.Split flag S4 is set to 0 to indicate that CU A3 is not split, and soon.

The entropy encoder 334 includes coded QP information for each coded CUin the compressed bit stream. In some embodiments, the entropy encoder334 includes this QP information in the form of a delta QP value, i.e.,the difference between a QP value and a predicted QP value. In someembodiments, the entropy encoder 334 computes a delta QP for a CU asdQP=QPcurr−QPprev where QPcurr is the QP value for the CU and QPprev isthe QP value for the CU immediately preceding the CU in the scanningorder, e.g., in depth-first Z scan order. In this case, QPprev is thepredicted QP. For example, referring to FIG. 4, the delta QP for CU B isQPB−QPA4 and the delta QP for CU D2 is QPD2−QPD14. Computing a delta QPin this way may be desirable when rate control is not based onperceptual criteria.

In some embodiments, the entropy encoder 334 computes a value for deltaQP as a function of the QP values of one or more spatially neighboringQPs. That is, delta QP=QPcurr−f(QPs of spatially neighboring CUs). Inthis case, f( )provides the predicted QP value. Computing delta QP inthis way may be desirable when rate control is based on perceptualcriteria. Examples of the function f( )include f( )=QP of a leftneighboring CU and f( )=the average of the QP value for a leftneighboring CU and the QP value of a top neighboring CU. Moresophisticated functions of QPs of spatially neighboring CUs may also beused, including using the QP values of more than one or two neighboringCUs.

Within an LCU, spatially neighboring CUs of a CU may be defined as thoseCUs adjacent to the CU in the CU structure of the LCU. For example, inFIG. 4, CU A22, CU A24, and CU A4 are left neighboring CUs of CU B.Also, CU A23 and CU A24 are top neighboring CUs of CU A4. For CUs on theleft and top edges of an LCU, adjacent CUs in an LCU to the left orabove, respectively, of the LCU in a picture may be considered as leftneighboring and top neighboring CUs, respectively.

In some embodiments, more than one mode for computing a predicted QPvalue for purposes of computing delta QP may be provided. For example,the entropy encoder 334 may provide two different modes for computingdelta QP: dQP=QPcurr−QPprev and dQP=QPcurr−f(QPs of spatiallyneighboring CUs). That is, the entropy encoder 334 may compute a deltaQP as per the following pseudo code:

If (qp_predictor_mode == 1) deltaQP = (QP of current CU) − (QP ofprevious CU in coding order); else if (qp_predictor_mode == 2)  deltaQP= (QP of current CU) − f(QP of spatially neighboring CUs)where qp_predictor_mode is selected elsewhere in the video encoder. Morethan two modes for computing a delta QP value may be provided in asimilar fashion. Further, the mode used to compute delta QPs, i.e.,qp_predictor_mode, may be signaled in the compressed bit stream at theappropriate level, e.g., sequence, picture, slice, and/or LCU level.

In some embodiments, the entropy encoder 334 encodes a delta QP valuefor each CU in the compressed bit stream. For example, referring to FIG.7, a delta QP value would be included in the information specific to CUA1, in the information specific to CU A21, in the information specificto CU A22, etc. In some embodiments, if a minimum QP CU size isspecified, a delta QP value is encoded in the CU specific informationfor each CU with at least one non-zero coefficient that is larger thanor equal to the minimum QP CU in size. For those CUs smaller than theminimum QP CU, a delta QP is encoded at the non-leaf CU level. The sizeof the minimum QP CU is also encoded in the bit stream at theappropriate point. FIG. 8 shows an example of signaling delta QPs forthe CU structure of the LCU of FIG. 4 assuming that the LCU size is64×64, the SCU size is 8×8, the minimum QP CU size is 32×32, and each CUhas at least one non-zero coefficient. Each of the CUs A, B, C, and D is32×32, so delta QPs, designated dQPx, are signaled for those CUs and notfor any of the smaller ones.

Referring again to FIG. 3B, inside the encoder is an embedded decoder.As any compliant decoder is expected to reconstruct an image from acompressed bitstream, the embedded decoder provides the same utility tothe video encoder. Knowledge of the reconstructed input allows the videoencoder to transmit the appropriate residual energy to composesubsequent frames. To determine the reconstructed input, i.e., referencedata, the ordered quantized transform coefficients for a CU provided viathe scan component 308 are returned to their original post-transformarrangement by an inverse scan component 310, the output of which isprovided to a dequantize component 312, which outputs estimatedtransformed information, i.e., an estimated or reconstructed version ofthe transform result from the transform component 304. In someembodiments, the QP for the CU is communicated to the dequantizecomponent 312 by the quantize component 306. In some embodiments, thedequantize component 312 determines the QP from a quantization parameterarray in the manner previously described. The estimated transformedinformation is provided to the inverse transform component 314, whichoutputs estimated residual information which represents a reconstructedversion of a residual CU. The reconstructed residual CU is provided tothe combiner 338.

The combiner 338 adds the delayed selected CU to the reconstructedresidual CU to generate an unfiltered reconstructed CU, which becomespart of reconstructed picture information. The reconstructed pictureinformation is provided via a buffer 328 to the intra predictioncomponent 324 and to a filter component 316. The filter component 316 isan in-loop filter which filters the reconstructed frame information andprovides filtered reconstructed CUs, i.e., reference data, to thestorage component 318.

In some embodiments, the above described techniques for computing deltaQPs may be used in other components of the video encoder. For example,if the quantize component uses rate distortion optimized quantizationwhich minimizes total rate and distortion for a CU (Total rate=Rate of(dQP)+Rate for (CU)), one or both of these techniques may be used bythese components to compute the needed delta QP values. In someembodiments, the QPs originally generated by the rate control component344 may be adjusted up or down by one or more other components in thevideo encoder prior to quantization.

FIG. 9 shows a block diagram of a video decoder, e.g., the video decoder112, in accordance with one or more embodiments of the invention. Thevideo decoder operates to reverse the encoding operations, i.e., entropycoding, quantization, transformation, and prediction, performed by thevideo encoder of FIGS. 3A and 3B to regenerate the frames of theoriginal video sequence. In view of the above description of a videoencoder, one of ordinary skill in the art will understand thefunctionality of components of the video decoder without detailedexplanation.

In the video decoder of FIG. 9, the entropy decoding component 900receives an entropy encoded video bit stream and reverses the entropyencoding to recover the encoded CUs and the encoded CU structures of theLCUs. The decoded information is communicated to other components in thevideo decoder as appropriate. The entropy decoding performed by theentropy decoding component 900 may include detecting coded QP values inthe bit stream and decoding them for communication to the inversequantization component 902. In some embodiments, the entropy decodingcomponent 900 may detect delta QP values in the bit stream and computereconstructed QP values from the delta QP values for communication tothe inverse quantization component 902. For example, if the videoencoder computed a delta QP as QPcurr−QPprev where QPprev is the QP ofthe previous CU in the coding order, the entropy decoding component 900computes QP as the delta QP+QPprev, where QPprev is the reconstructed QPcomputed by the entropy decoding component 900 for the immediatelypreceding CU in the bit stream. For this computation, the entropydecoding component 900 may store and update a value for QPprev as eachencoded CU is entropy decoded and a reconstructed QP is determined forthat CU.

If the video encoder computed a delta QP as QPcurr−f(QPs of spatiallyneighboring CUs), the entropy decoding component 900 computes areconstructed QP as the delta QP+f(rQPs of spatially neighboring CUs),where rQP is a reconstructed QP. Further, if the video encoder supportsmultiple modes for computing a delta QP, the video decoder will computea reconstructed QP from the delta QP according to the mode signaled inthe bit stream.

To perform the computation delta QP=QPcurr−f(rQPs of spatiallyneighboring CUs), the entropy decoding component 900 may store thereconstructed QPs of the appropriate spatially neighboring CUs. Forexample, the reconstructed QPs of the neighboring CUs may be stored in areconstructed quantization parameter array in a manner similar to thatof the previously described quantization parameter array.

Example reconstructed QP calculations are described below assuming f()is equal to the rQP of the left neighboring CU and in reference to theexample LCU structures 1000 and 1002 in FIG. 10. In this example, LCU 01000 has been decoded and its reconstructed QPs are stored in thereconstructed quantization parameter array 1004. As reconstructed QPsare computed for LCU 1 1002, they may be stored in a reconstructedquantization parameter array for that LCU. The following calculationsdemonstrate how reconstructed QP values for some of the CUs in LCU 11002 may be reconstructed from left neighboring CUs:

rQP(A1)=dQP(A1)+rQP(B22 of LCU 0 1000)

rQP(A21)=dQP(A21)+rQP(A1)

rQP(A22)=dQP(A22)+rQP(A21)

rQP(A23)=dQP(A23)+rQP(A1)

rQP(A24)=dQP(A24)+rQP(A23)

rQP(A3)=dQP(A3)+rQP(B42 of LCU 0 1000)

rQP(A4)=dQP(A4)+rQP(A3)

In this example, the left column of the reconstructed quantizationparameter array 1004 (B22, B24, B42, B44, D22, D24, D42, D44) is allthat is required for applying predictor f( )to LCU 1 1002. If the leftneighboring CU is not available as can be the case for the first LCU ina picture, a predefined QP value may be used or the reconstructed QPvalue in CU coding order may be used.

Referring again to FIG. 9, the inverse quantization component 902de-quantizes the residual coefficients of the residual CUs based on thereconstructed QP values. The inverse transform component 904 transformsthe frequency domain data from the inverse quantization component 902back to residual CUs. That is, the inverse transform component 904applies an inverse unit transform, i.e., the inverse of the unittransform used for encoding, to the de-quantized residual coefficientsto produce the residual CUs.

A residual CU supplies one input of the addition component 906. Theother input of the addition component 906 comes from the mode switch908. When inter-prediction mode is signaled in the encoded video stream,the mode switch 908 selects a prediction block from the motioncompensation component 910 and when intra-prediction is signaled, themode switch selects a prediction block from the intra predictioncomponent 914. The motion compensation component 910 receives referencedata from storage 912 and applies the motion compensation computed bythe encoder and transmitted in the encoded video bit stream to thereference data to generate a predicted CU. The intra-predictioncomponent 914 receives previously decoded predicted CUs from the currentpicture and applies the intra-prediction computed by the encoder assignaled by a spatial prediction mode transmitted in the encoded videobit stream to the previously decoded predicted CUs to generate apredicted CU.

The addition component 906 generates a decoded CU, by adding theselected predicted CU and the residual CU. The output of the additioncomponent 906 supplies the input of the in-loop filter component 916.The in-loop filter component 916 smoothes artifacts created by the blocknature of the encoding process to improve the visual quality of thedecoded frame. The output of the in-loop filter component 916 is thedecoded frames of the video bit stream. Each decoded CU is stored instorage 912 to be used as reference data.

In some embodiments, unit transforms smaller than a CU may be used. Insuch embodiments, the video encoder may further partition a CU intotransform units. For example, a CU may be partitioned into smallertransform units in accordance with a recursive quadtree structureadapted to the CU size. The transform unit structure of the CU may besignaled to the decoder in a similar fashion as the LCU CU structureusing transform split flags. Further, in some such embodiments, delta QPvalues may be computed and signaled at the transform unit level. In someembodiments, a flag indicating whether or not multiple quantizationparameters are provided for an LCU may be signaled at the appropriatelevel, e.g., sequence, picture, and/or slice.

FIG. 11 is a flow diagram of a method for generating and encodingmultiple quantization parameters for an LCU in a video encoder inaccordance with one or more embodiments. Initially, an LCU is received1100. Various criteria are then applied to the LCU to determine a CUstructure for the LCU and QPs are computed for the CUs in the CUstructure 1102. For example, as previously discussed, the LCU may bedivided into CUs of various sizes within a recursive quadtree structurebased on the various criteria to determine the granularity at which QPvalues should be applied, i.e., to determine the CU structure for theLCU. A quantization parameter is then computed for each CU in the CUstructure.

CUs in the CU structure are then coded using the corresponding QPs 1104.For example, a block-based coding process, i.e., prediction,transformation, and quantization, is performed on each CU in the CUstructure. The prediction, transformation, and quantization may beperformed on each CU as previously described herein.

The QPs used in coding the CUs are also coded 1106. For example, tosignal the QPs used in coding the CUs, delta QPs may be computed. Thedelta QP values may be computed as previously described. The coded QPs,the coded CUs, and the CU structure are then entropy coded to generate aportion of the compressed bit stream 1108. The coded QPs, coded CUs, andthe CU structure may be signaled in the compressed bit stream aspreviously described herein.

FIG. 12 is a flow diagram of a method for decoding multiple quantizationparameters for an LCU in a video decoder in accordance with one or moreembodiments. Initially, a coded LCU that may include a coded CUstructure and coded QPs is received 1200. The coded CU structure and thecoded QPs may be generated by a video encoder as previously described.Reconstructed QPs for coded CUs in the coded LCU are then computed basedon the coded QPs 1202. The reconstructed QPs may be computed aspreviously described. The coded LCU is then decoded based on the codedCU structure and the reconstructed QPs 1204. For example, coded codingunits in the coded LCU may be decoded using a block-based decodingprocess as previously described herein that reverses a block-basedcoding process used by the video encoder.

The techniques described in this disclosure may be implemented inhardware, software, firmware, or any combination thereof. If implementedin software, the software may be executed in one or more processors,such as a microprocessor, application specific integrated circuit(ASIC), field programmable gate array (FPGA), or digital signalprocessor (DSP). The software that executes the techniques may beinitially stored in a computer-readable medium such as compact disc(CD), a diskette, a tape, a file, memory, or any other computer readablestorage device, and loaded and executed in the processor. In some cases,the software may also be sold in a computer program product, whichincludes the computer-readable medium and packaging materials for thecomputer-readable medium. In some cases, the software instructions maybe distributed via removable computer readable media (e.g., floppy disk,optical disk, flash memory, USB key), via a transmission path fromcomputer readable media on another digital system, etc.

Embodiments of the methods and encoders as described herein may beimplemented for virtually any type of digital system (e.g., a desk topcomputer, a laptop computer, a handheld device such as a mobile (i.e.,cellular) phone, a personal digital assistant, a digital camera, etc.).FIG. 13 is a block diagram of a digital system (e.g., a mobile cellulartelephone) 1300 that may be configured to use techniques describedherein.

As shown in FIG. 13, the signal processing unit (SPU) 1302 includes adigital signal processing system (DSP) that includes embedded memory andsecurity features. The analog baseband unit 1304 receives a voice datastream from handset microphone 1313 a and sends a voice data stream tothe handset mono speaker 1313 b. The analog baseband unit 1304 alsoreceives a voice data stream from the microphone 1314 a and sends avoice data stream to the mono headset 1314 b. The analog baseband unit1304 and the SPU 1302 may be separate ICs. In many embodiments, theanalog baseband unit 1304 does not embed a programmable processor core,but performs processing based on configuration of audio paths, filters,gains, etc being setup by software running on the SPU 1302.

The display 1320 may also display pictures and video sequences receivedfrom a local camera 1328, or from other sources such as the USB 1326 orthe memory 1312. The SPU 1302 may also send a video sequence to thedisplay 1320 that is received from various sources such as the cellularnetwork via the RF transceiver 1306 or the camera 1326. The SPU 1302 mayalso send a video sequence to an external video display unit via theencoder unit 1322 over a composite output terminal 1324. The encoderunit 1322 may provide encoding according to PAL/SECAM/NTSC videostandards.

The SPU 1302 includes functionality to perform the computationaloperations required for video encoding and decoding. In one or moreembodiments, the SPU 1302 is configured to perform computationaloperations for applying one or more techniques for generating andencoding multiple quantization parameters for an LCU during the encodingprocess as described herein. Software instructions implementing thetechniques may be stored in the memory 1312 and executed by the SPU1302, for example, as part of encoding video sequences captured by thelocal camera 1328. In some embodiments, the SPU 1302 is configured toperform computational operations for applying one or more techniques fordecoding multiple quantization parameters for an LCU as described hereinas part of decoding a received coded video sequence or decoding a codedvideo sequence stored in the memory 1312. Software instructionsimplementing the techniques may be stored in the memory 1312 andexecuted by the SPU 1302.

The steps in the flow diagrams herein are described in a specificsequence merely for illustration. Alternative embodiments using adifferent sequence of steps may also be implemented without departingfrom the scope and spirit of the present disclosure, as will be apparentto one skilled in the relevant arts by reading the disclosure providedherein.

While the invention has been described with respect to a limited numberof embodiments, those skilled in the art, having benefit of thisdisclosure, will appreciate that other embodiments can be devised whichdo not depart from the scope of the invention as disclosed herein.Accordingly, the scope of the invention should be limited only by theattached claims. It is therefore contemplated that the appended claimswill cover any such modifications of the embodiments as fall within thetrue scope and spirit of the invention.

What is claimed is:
 1. A method of video processing, comprising:dividing a picture into a plurality of non-over-lapping blocks; for afirst of the plurality of non-over-lapping blocks of a first size,determine a minimum coding unit size for which a first quantizationparameter will be determined wherein the minimum coding unit size isless than the first size; transforming the plurality of non-over-lappingblocks into a plurality of transformed coefficients in a frequencydomain using a transform function; quantizing the plurality oftransformed coefficients using a plurality of quantization parameters atleast one of which is the first quantization parameter; and encoding theplurality of quantized transformed coefficients into a compressed bitstream and signaling at a picture level in the compressed bit stream theminimum coding unit size for which the first quantization parameter isdetermined for the first non-over-lapping block.
 2. The method of claim1 further comprising transmitting the compressed bit stream on acommunications channel.
 3. The method of claim 1 further comprising:performing an inverse quantization operation on the plurality ofquantized transformed coefficients using the plurality of quantizationparameters to form a plurality of reconstructed transformedcoefficients; and performing an inverse transform operation on theplurality of reconstructed transformed coefficients to form a pluralityof reconstructed non-over-lapping blocks.
 4. The method of claim 1further comprising; for a second of the plurality of non-over-lappingblocks of a second size determine a second minimum coding unit size forwhich a second quantization parameter will be determined wherein thesecond minimum coding unit size is less than the second size; quantizingthe plurality of transformed coefficients using the plurality ofquantization parameters including the second quantization parameter; andsignaling at the picture level in the encoded bit stream bit stream theminimum coding unit size for which the second quantization parameter isdetermined for the second non-over-lapping block.
 5. A video system,comprising: a coding component configured to divide a picture into aplurality of non-over-lapping blocks; a rate control component coupledto the coding component and configured to determine a minimum codingunit size for which a first quantization parameter will be determinedfor a first of the plurality of non-over-lapping blocks of a first size,wherein the minimum coding unit size is less than the first size; atransform component coupled to the rate control component and configuredto transform the plurality of non-over-lapping blocks into a pluralityof transformed coefficients in a frequency domain using a transformfunction; a quantize component coupled to the transform component andconfigured to quantize the plurality of transformed coefficients using aplurality of quantization parameters at least one of which is the firstquantization parameter; and an encoder coupled to the quantize componentand configured to encode the plurality of quantized transformedcoefficients into a bit stream and signal at a picture level in theencoded bit stream the minimum coding unit size for which the firstquantization parameter is determined for the first non-over-lappingblock.
 6. The video system of claim 5 further comprising: a dequantizecomponent coupled to the quantize component and configured to perform aninverse quantization operation on the plurality of quantized transformedcoefficients using the plurality of quantization parameters to form aplurality of reconstructed transformed coefficients; and an inversetransform component coupled to the dequantize component and configure toperform an inverse transform operation on the plurality of reconstructedtransformed coefficients to form a plurality of reconstructednon-over-lapping blocks.
 7. The video system of claim 5 where the videosystem is implemented on a signal processing unit comprising a softwareprogram implemented in one or more processors wherein the softwareprogram is stored in a memory and loaded and executed in the one or moreprocessors.
 8. The video system of claim 7 wherein the signal processingunit further comprises an embedded memory and at least one securityfeature.
 9. The video system of claim 5 further comprising a videocapture component coupled to the coding component and configured toprovide a video sequence comprising a plurality of pictures to thecoding component.
 10. The video system of claim 9 wherein the videocapture component is a charge coupled device (CCD) camera or acomplementary metal oxide semiconductor (CMOS) camera.
 11. The videosystem of claim 9 further comprising a transmitter coupled to encoderfor transmitting the bit stream on a communications channel.
 12. Amethod of video processing, comprising: receiving an encoded bit streamfor a picture; decoding the encoded bit stream and determine from aparameter signaled in the bit stream at a picture level a first minimumcoding unit size for which a first quantization parameter is determinedfor a first non-over-lapping block of a plurality of non-overlappingblocks; performing an inverse quantization operation on a firstplurality of quantized transformed coefficients using a plurality ofquantization parameters including the first quantization parameter toform a plurality of reconstructed transformed coefficients; andperforming an inverse transform operation on the plurality ofreconstructed transformed coefficients to form a plurality ofreconstructed non-over-lapping blocks with a plurality of pixel values.13. The method of claim 12 further comprising determining a secondminimum coding unit size for which a second quantization parameter isdetermined for a second non-over-lapping block of the plurality ofnon-overlapping blocks; and performing the inverse quantizationoperation on the plurality of quantized transformed coefficients usingthe plurality of quantization parameters including the secondquantization parameter to form the plurality of reconstructedtransformed coefficients.
 14. The video method of claim 12 where thevideo processing is implemented on a signal processing unit comprising asoftware program implemented in one or more processors wherein thesoftware program is stored in a memory and loaded and executed in theone or more processors.
 15. The video method of claim 14 wherein thesignal processing unit further comprises an embedded memory and at leastone security feature.
 16. The video method of claim 12 furthercomprising displaying the picture on a display.
 17. The video methodclaim 16 wherein the display is a liquid crystal display (LCD) or alight emitting diode (LED) display.
 18. A video decoding system,comprising: a decoding component configured to receive an encoded bitstream for a picture; the decoding component further configured todecode the encoded bit stream and determine from a parameter signaled inthe bit stream at a picture level a minimum coding unit size for which afirst quantization parameter is determined for a first non-over-lappingblock of a plurality of non-overlapping blocks; an inverse quantizationcomponent coupled to the decoding component and configured to perform aninverse quantization operation on a plurality of quantized transformedcoefficients using a plurality of quantization parameters including thefirst quantization parameter to form a plurality of reconstructedtransformed coefficients; and an inverse transform component coupled tothe inverse quantization component and configured to perform an inversetransform operation on the plurality of reconstructed transformedcoefficients to form a plurality of reconstructed non-over-lappingblocks with a plurality of pixel values.
 19. The video decoding systemof claim 18 where the video decoding system is implemented on a signalprocessing unit comprising a software program implemented in one or moreprocessors wherein the software program is stored in a memory and loadedand executed in the one or more processors.
 20. The video decodingsystem of claim 19 wherein the signal processing unit further comprisesan embedded memory and a plurality of security features.
 21. The videodecoding system of claim 18 further comprising a display coupled to theinverse transform component and configured to display the picture. 22.The video decoding system of claim 21 wherein the display is a liquidcrystal display (LCD) or a light emitting diode (LED) display.